Skip to content

Update reqwest from 0.12 to 0.13, to add support for self-signed certificate stored in an OS's trust store.#67

Open
codercommand wants to merge 4 commits into
EpicGames:mainfrom
codercommand:fix-reqwest-tls
Open

Update reqwest from 0.12 to 0.13, to add support for self-signed certificate stored in an OS's trust store.#67
codercommand wants to merge 4 commits into
EpicGames:mainfrom
codercommand:fix-reqwest-tls

Conversation

@codercommand

Copy link
Copy Markdown

Version 0.12 of reqwest doesn't support self-signed certificates that have been added to the OS trust store by default. You must add this feature by adding "rustls-tls-native-roots" flag, or you upgrade to 0.13 which supports self-signed certificates by default. Decided to update to 0.13.

This feature is needed when testing and developing locally with self-signed certificates.

…ificate stored in an OS's trust store.

Signed-off-by: Rian Rutherford <codercommand@gmail.com>
@codercommand

Copy link
Copy Markdown
Author

Investigating fix for linting error.

Signed-off-by: Rian Rutherford <codercommand@gmail.com>

@mjansson mjansson left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since other packages still require reqwest 0.12 we now get dependency on both versions. It also seems 0.12 now gets default features, which pull in a lot of extra dependencies.

I would prefer if you made it work in 0.12 instead until we can shift completely to 0.13 across the board.

@codercommand

Copy link
Copy Markdown
Author

I can do that. I previously locally had it for 0.12, then thought it'd be helpful to bump it to 0.13 and make PR.

Do you want it in this pull request or a new one @mjansson ?

@mjansson

mjansson commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Can do it in this one, will be squashed on intake anyway.

Signed-off-by: Rian Rutherford <codercommand@gmail.com>
@codercommand

Copy link
Copy Markdown
Author

We should be all good now @mjansson

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants